<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
 
    
    <title>dwr应用</title>
    

  </head>
  	<script language="javascript" src="dwr/interface/AjaxDate.js"></script>
  	<script language="javascript" src="dwr/engine.js"></script>
  	<script language="javascript" src="dwr/util.js"></script>
  	<script language="javascript">
  		function doTest(){
  			AjaxDate.toString(load);
  		}
  		function load(date){
  			window.alert("现在时间是:"+date);
  			
  		}
  	</script>
  <body>
    <input type="button" value="查询现在时间" onClick="doTest()" />

  </body>
</html>
